package com.marketlive.system.encryption;

import org.marketlive.system.encryption.IEncryptor;


/*
(C) Copyright MarketLive. 2006. All rights reserved.
MarketLive is a trademark of MarketLive, Inc.
Warning: This computer program is protected by copyright law and international treaties.
Unauthorized reproduction or distribution of this program, or any portion of it, may result
in severe civil and criminal penalties, and will be prosecuted to the maximum extent
possible under the law.
*/

/**
 * Encryptor emplementation that does NOT do any encryption.  Can be used by unit tests where
 * it is not required or does not work.
 */
public class DummyEncryptor implements IEncryptor {

    public void init() {

    }

    public String encrypt(String unencryptedString) {
        return "encrypted(" + unencryptedString + ")";
    }

    public String encrypt(String keyCode, String unencryptedString) {
        return "encrypted(" + unencryptedString + ")";
    }

}
